﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RuEn
{
    public abstract class RuleBase : Attribute
    {
        private BrokenRules _brokenRules;
        private string _invalidData = "Data Invalid";

        public RuleBase()
        {
            _brokenRules = new BrokenRules();
        }

        public BrokenRules BrokenRules
        {
            get { return _brokenRules; }
            set { _brokenRules = value; }
        }

        public string InvalidData
        {
            get { return _invalidData; }
            set { _invalidData = value; }
        }
    }
}
